package com.drink.yan.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.drink.yan.intf.entity.YanActivity;
import com.drink.yan.intf.entity.YanOrderItem;
import com.drink.yan.intf.vo.ActivityUserVo;
import com.drink.yan.intf.vo.ActivityVo;
import com.drink.yan.web.rest.req.qry.PageActivityQry;
import com.drink.yan.web.rest.req.qry.PageMyActivityQry;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * java类简单作用描述
 *
 * @Title:
 * @Package: com.drink.yan.core.mapper.
 * @Author: M.simple
 * @Remark: The modified content
 * @CreateDate: 2023/11/24 20:45
 * @Version: v2.0
 */
public interface YanActivityMapper extends BaseMapper<YanActivity> {

    List<ActivityVo> listActivity(PageMyActivityQry qry);

    List<ActivityUserVo> listUserDetail(Long activityId);

	List<ActivityVo> listShareActivity(PageActivityQry qry);

	List<ActivityVo> listNowActivity(PageActivityQry qry);

	Integer countMyActivitySignUser(Long userId);

	List<YanActivity> listActivityVo(PageActivityQry qry);

	List<ActivityUserVo> listUserActivity(PageMyActivityQry qry);
}
